package cn.itsource.pethome.basic.service;

import cn.itsource.pethome.basic.util.BaseQuery;
import cn.itsource.pethome.basic.util.PageBase;
import cn.itsource.pethome.org.domain.Department;

import java.util.List;

public interface IBaseService<T> {
    void save(T t);

    void delete(Long id);

    void deleteAll(List<Long> id);

    void update(T t);

    T findById(Long id);

    PageBase<T> findAll(BaseQuery query);

    List<T> loadAll();
}
